Part Number Hot Search : 
D105K0 BD313 29LV00 MN65752H MJE1102 MV5054A3 MAX810ZE XN04602
Product Description
Full Text Search
 

To Download WM8214SCDSR Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 w
40MSPS 16-bit CCD Digitiser
DESCRIPTION
The WM8214 is a 16-bit analogue front end/digitiser IC which processes and digitises the analogue output signals from CCD sensors or Contact Image Sensors (CIS) at pixel sample rates of up to 40MSPS. The device includes three analogue signal processing channels each of which contains Reset Level Clamping, Correlated Double Sampling and Programmable Gain and Offset adjust functions. Three multiplexers allow single channel processing. The output from each of these channels is time multiplexed into a single high-speed 16-bit Analogue to Digital Converter. The digital output data is available in 8-bit wide multiplexed format and there is also an optional single byte output mode, or 4-bit multiplexed LEGACY mode. An internal 4-bit DAC is supplied for internal reference level generation. This may be used during CDS to reference CIS signals or during Reset Level Clamping to clamp CCD signals. An external reference level may also be supplied. ADC references are generated internally, ensuring optimum performance from the device. Using an analogue supply voltage of 3.3V and a digital interface supply of 3.3V, the WM8214 typically only consumes 390mW.
WM8214
FEATURES
* * * * * * * * * * * * * * * * 16-bit ADC 40MSPS conversion rate Low power - 390mW typical 3.3V single supply operation Single, 2 or 3 channel operation Correlated double sampling Programmable gain (9-bit resolution) Programmable offset adjust (8-bit resolution) Flexible clamp control with programmable clamp voltage Flexible timing, can be made compatible with WM819X and WM815X parts. 8-bit wide multiplexed data output format 8-bit only output mode 4-bit LEGACY multiplexed nibble mode Internally generated voltage references 28-pin SSOP package, pin compatible with WM8199 Serial control interface
APPLICATIONS
* * * * High speed USB2.0 compatible scanners Multi-function peripherals High-performance CCD sensor interface Digital Copiers
BLOCK DIAGRAM
VRLC/VBIAS RSMP VSMP MCLK AVDD DVDD1 DVDD2 VRT VRX VRB
w
CLMP RS VS TIMING CONTROL
R G B M U X 8
WM8214
VREF/BIAS OFFSET DAC + PGA
9
OEB + I/P SIGNAL POLARITY ADJUST M U X 16BIT ADC DATA O/P PORT OP[0] OP[1] OP[2] OP[3] OP[4] OP[5] OP[6] OP[7]/SDO
RINP
RLC
CDS
R G B M U X
GINP
RLC
CDS
8
+ OFFSET DAC
PGA
9
+ I/P SIGNAL POLARITY ADJUST
BINP
RLC
CDS
8
+ OFFSET DAC
PGA
9
+ I/P SIGNAL POLARITY ADJUST
RLC DAC
4
CONFIGURABLE SERIAL CONTROL INTERFACE
SEN SCK SDI
AGND1
AGND2
DGND
WOLFSON MICROELECTRONICS plc
Product Preview, March 2004, Rev 1.6
w :: www.wolfsonmicro.com
Copyright 2004 Wolfson Microelectronics plc.
WM8214 TABLE OF CONTENTS
Product Preview
Description.......................................................................................................................................... 1 Features.............................................................................................................................................. 1 APPLICATIONS.................................................................................................................................. 1 BLOCK DIAGRAM.............................................................................................................................. 1 table of contents ................................................................................................................................. 2 Pin Configuration ................................................................................................................................ 3 Ordering Information........................................................................................................................... 3 Pin Description.................................................................................................................................... 4 Absolute Maximum Ratings................................................................................................................ 5 Recommended Operating Conditions ................................................................................................ 5 Electrical Characteristics .................................................................................................................... 6 INPUT VIDEO SAMPLING ............................................................................................................. 8 SERIAL INTERFACE ....................................................................................................................10 DEVICE DESCRIPTION...................................................................................................................11 INTRODUCTION ..........................................................................................................................11 INPUT SAMPLING........................................................................................................................11 RESET LEVEL CLAMPING (RLC) ...............................................................................................12 CDS/NON-CDS PROCESSING....................................................................................................14 Offset Adjust and Programmable Gain .........................................................................................15 ADC INPUT BLACK LEVEL ADJUST...........................................................................................16 OVERall signal flow summary.......................................................................................................17 CALCULATING THE OUTPUT CODE FOR A GIVEN INPUT .....................................................18 OUTPUT FORMATS.....................................................................................................................19 References....................................................................................................................................19 Power Management ......................................................................................................................19 line-by-line operation .....................................................................................................................20 Control Interface ...........................................................................................................................20 LEGACY MODE INFORMATION .................................................................................................22 LEGACY: OPERATING MODES ..................................................................................................23 LEGACY: MODE TIMING DIAGRAMS .........................................................................................24 device configuration..........................................................................................................................27 REGISTER MAP ...........................................................................................................................27 Register Map Description..............................................................................................................28 applications information....................................................................................................................33 RECOMMENDED EXTERNAL COMPONENTS ..........................................................................33 recommended external component values...................................................................................33 package dimensions.........................................................................................................................34 IMPORTANT NOTICE......................................................................................................................35
w
PP Rev 1.6 March 2004 2
Product Preview
WM8214
PIN CONFIGURATION
RINP AGND2 DVDD1 OEB VSMP RSMP MCLK DGND SEN DVDD2 SDI SCK OP[0] OP[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 GINP BINP VRLC/VBIAS VRX VRT VRB AGND1 AVDD OP[7]/SDO OP[6] OP[5] OP[4] OP[3] OP[2]
ORDERING INFORMATION
DEVICE WM8214CDS WM8214CDS/R WM8214SCDS WM8214SCDS/R Note: Reel quantity = 2,000 TEMP. RANGE 0 to 70oC 0 to 70oC 0 to 70oC 0 to 70oC PACKAGE 28-pin SSOP 28-pin SSOP (tape and reel) 28-pin SSOP (lead free) 28-pin SSOP (lead free, tape and reel) MOISTURE SENSITIVITY LEVEL MSL1 MSL1 MSL1 MSL1 PEAK SOLDERING TEMPERATURE 240oC 240oC 260oC 260 C
o
w
PP Rev 1.6 March 2004 3
WM8214 PIN DESCRIPTION
PIN 1 2 3 4 5 6 7 8 9 10 11 12 NAME RINP AGND2 DVDD1 OEB VSMP RSMP MCLK DGND SEN DVDD2 SDI SCK TYPE Analogue input Supply Supply Digital input Digital input Digital input Digital input Supply Digital input Supply Digital input Digital input DESCRIPTION Red channel input video. Analogue ground reference.
Product Preview
Digital supply for logic and clock generator. This must be operated at the same potential as AVDD. Output Hi-Z control, all digital outputs disabled when register bit OEB = 1 or register bit OPD = 1. Video sample timing pulse. Reset sample timing pulse (also used for RLC control). Master (ADC) clock. This determines the ADC conversion rate. Digital ground reference. Enables the serial interface when high. Digital supply, all digital I/O pins. Serial data input. Serial clock. Digital multiplexed output data bus. ADC output data (d15:d0) is available in multiplexed format as shown. See `Output Formats' description in Device Description section for details of other output modes. A B d0 d1 d2 d3 d4 d5 d6 d7
13 14 15 16 17 18 19 20
OP[0] OP[1] OP[2] OP[3] OP[4] OP[5] OP[6] OP[7]/SDO
Digital output Digital output Digital output Digital output Digital output Digital output Digital output Digital output
d8 d9 d10 d11 d12 d13 d14 d15
Alternatively, pin OP[7]/SDO may be used to output register read-back data when register bit OEB = 0, OPD = 0 and SEN has been pulsed high. See Serial Interface description in Device Description section for further details. 21 22 23 24 25 26 AVDD AGND1 VRB VRT VRX VRLC/VBIAS Supply Supply Analogue output Analogue output Analogue output Analogue I/O Analogue supply. This must be operated at the same potential as DVDD1. Analogue ground reference. Lower reference voltage. This pin must be connected to AGND via a decoupling capacitor. Upper reference voltage. This pin must be connected to AGND via a decoupling capacitor. Input return bias voltage. This pin must be connected to AGND via a decoupling capacitor. Selectable analogue output voltage for RLC or single-ended bias reference. This pin would typically be connected to AGND via a decoupling capacitor. VRLC can be externally driven if programmed Hi-Z. Blue channel input video. Green channel input video.
27 28
BINP GINP
Analogue input Analogue input
w
PP Rev 1.6 March 2004 4
Product Preview
WM8214
ABSOLUTE MAXIMUM RATINGS
Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously operating at or beyond these limits. Device functional operating limits and guaranteed performance specifications are given under Electrical Characteristics at the test conditions specified. ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage of this device. Wolfson tests its package types according to IPC/JEDEC J-STD-020B for Moisture Sensitivity to determine acceptable storage conditions prior to surface mount assembly. These levels are: MSL1 = unlimited floor life at <30C / 85% Relative Humidity. Not normally stored in moisture barrier bag. MSL2 = out of bag storage for 1 year at <30C / 60% Relative Humidity. Supplied in moisture barrier bag. MSL3 = out of bag storage for 168 hours at <30C / 60% Relative Humidity. Supplied in moisture barrier bag. CONDITION Analogue supply voltage: AVDD Digital supply voltages: DVDD1 - 2 Digital ground: DGND Analogue grounds: AGND1 - 2 Digital inputs, digital outputs and digital I/O pins Analogue inputs (RINP, GINP, BINP) Other pins Operating temperature range: TA Storage temperature after soldering Notes: 1. 2. GND denotes the voltage of any ground pin. AGND1, AGND2 and DGND pins are intended to be operated at the same potential. Differential voltages between these pins will degrade performance. MIN GND - 0.3V GND - 0.3V GND - 0.3V GND - 0.3V GND - 0.3V GND - 0.3V GND - 0.3V 0C -65C MAX GND + 5V GND + 5V GND + 0.3V GND + 0.3V DVDD2 + 0.3V AVDD + 0.3V AVDD + 0.3V +70C +150C
RECOMMENDED OPERATING CONDITIONS
CONDITION Operating temperature range Analogue supply voltage Digital core supply voltage Digital I/O supply voltage Notes: 1. DVDD2 should not be operated at a higher potential than DVDD1. SYMBOL TA AVDD DVDD1 DVDD2 MIN 0 2.97 2.97 1.8 3.3 3.3 3.3 TYP MAX 70 3.63 3.63 3.63 UNITS C V V V
w
PP Rev 1.6 March 2004 5
WM8214 ELECTRICAL CHARACTERISTICS
Product Preview
Test Conditions AVDD = DVDD1 = DVDD2 = 2.97 to 3.63V, AGND = DGND = 0V, TA = 0 to 70C, MCLK = 40MHz unless otherwise stated. PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT
Overall System Specification (including 16-bit ADC, PGA, Offset and CDS functions) Conversion rate Full-scale input voltage range (see Note 1) LOWREFS=0, Max Gain LOWREFS=0, Min Gain LOWREFS=1, Max Gain LOWREFS=1, Min Gain Input signal limits (see Note 2) Full-scale transition error Zero-scale transition error Differential non-linearity Integral non-linearity Channel to channel gain matching Total output noise References Upper reference voltage Lower reference voltage Input return bias voltage Diff. reference voltage (VRT-VRB) Output resistance VRT, VRB, VRX Reset-Level Clamp (RLC) circuit/ Reference Level DAC RLC switching impedance VRLC short-circuit current VRLC output resistance VRLC Hi-Z leakage current Reference RLCDAC resolution Reference RLCDAC step size Reference RLCDAC step size Reference RLCDAC output voltage at code 0(hex) Reference RLCDAC output voltage at code 0(hex) Reference RLCLDAC output voltage at code F(hex) Reference RLCDAC output voltage at code F(hex) VRLC deviation VRLCSTEP VRLCSTEP VRLCBOT VRLCBOT VRLCTOP VRLCTOP AVDD=3.3V RLCDACRNG=0 RLCDACRNG=1 AVDD=3.3V, RLCDACRNG=0 RLCDACRNG=1 AVDD=3.3V, RLCDACRNG=0 RLCDACRNG = 1 -50 VRLC = 0 to AVDD 4 0.173 0.11 0.4 0.4 3.0 2.05 +50 50 2 2 1 mA A bits V/step V/step V V V V mV VRT VRB VRX VRTB LOWREFS=0 LOWREFS=1 LOWREFS=0 LOWREFS=1 LOWREFS=0 LOWREFS=1 2.05 1.85 1.05 1.25 1.11 1.0 0.6 1 V V V V Min Gain Max Gain DNL INL VIN Gain = 0dB; PGA[7:0] = 4B(hex) Gain = 0dB; PGA[7:0] = 4B(hex) AGND-0.3 20 20 TBD TBD 1% TBD 40 0.25 3.03 0.15 1.82 AVDD+0.3 MSPS Vp-p Vp-p Vp-p Vp-p V mV mV LSB LSB % LSB rms LSB rms
Notes: 1. Full-scale input voltage denotes the peak input signal amplitude that can be gained to match the ADC full-scale input range. 2. Input signal limits are the limits within which the full-scale input voltage signal must lie.
w
PP Rev 1.6 March 2004 6
Product Preview
WM8214
Test Conditions AVDD = DVDD1 = DVDD2 = 2.97 to 3.63V, AGND = DGND = 0V, TA = 0 to 70C, MCLK = 40MHz unless otherwise stated. PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT
Offset DAC, Monotonicity Guaranteed Resolution Differential non-linearity Integral non-linearity Step size Output voltage Programmable Gain Amplifier Resolution Gain equation Max gain, each channel Min gain, each channel Gain error, each channel Analogue to Digital Converter Resolution Speed Full-scale input range (2*(VRT-VRB)) DIGITAL SPECIFICATIONS Digital Inputs High level input voltage Low level input voltage High level input current Low level input current Input capacitance Digital Outputs High level output voltage Low level output voltage High impedance output current Digital IO Pins Applied high level input voltage Applied low level input voltage High level output voltage Low level output voltage Low level input current High level input current Input capacitance High impedance output current Supply Currents Total supply current - active (Three channel mode) Supply current - full power down mode 118 20 mA A VIH VIL VOH VOL IIL IIH CI IOZ 5 1 IOH = 1mA IOL = 1mA DVDD2 - 0.5 0.5 1 1 0.7 DVDD2 0.2 DVDD2 V V V V A A pF A VOH VOL IOZ IOH = 1mA IOL = 1mA DVDD2 - 0.5 0.5 1 V V A VIH VIL IIH IIL CI 5 0.7 DVDD2 0.2 DVDD2 1 1 V V A A pF LOWREFS=0 LOWREFS=1 16 40 2 1.2 bits MSPS V V GMAX GMIN 9
7.34 0.66 + * PGA [ 8 : 0 ] 511
8 DNL INL Code 00(hex) Code FF(hex) 0.1 0.25 2.04 -260 +260 0.5 1
bits LSB LSB mV/step mV mV bits V/V V/V V/V %
8 0.66 1
w
PP Rev 1.6 March 2004 7
WM8214
INPUT VIDEO SAMPLING
Product Preview
Figure 1 Three-channel CDS Input Video Timing
Figure 2 Two-channel CDS Input Video Timing
w
PP Rev 1.6 March 2004 8
Product Preview
WM8214
Figure 3 Single-channel CDS Input Video Timing Notes: 1. 2. 3. 4. 5. 6. 7. The relationship between input video and sampling is controlled by VSMP and RSMP. When VSMP is high the input video signal is connected to the Video sampling capacitors. When RSMP is high the input video signal is connected to the Reset sampling capacitors. RSMP must not go high before the first falling edge of MCLK after VSMP goes low. It is required that the falling edge of VSMP should occur before the rising edge of MCLK. In 1-channel CDS mode it is not possible to have a equally spaced Video and Reset sample points with a 40MHz MCLK. Non-CDS operation is also possible; RSMP is not required in this mode.
Test Conditions AVDD = DVDD1 = DVDD2 = 2.97 to 3.63V, AGND = DGND = 0V, TA = 0 to 70C, MCLK = 40MHz unless otherwise stated. PARAMETER MCLK period MCLK high period MCLK low period RSMP pulse high time VSMP pulse high time RSMP falling to VSMP rising time MCLK rising to VSMP rising time MCLK falling to VSMP falling time VSMP falling to MCLK rising time 1st MCLK falling edge after VSMP falling to RSMP rising time 3-channel mode pixel rate 2-channel mode pixel rate 1-channel mode pixel rate Output propagation delay Notes: 1. Parameters are measured at 50% of the rising/falling edge. SYMBOL tPER tMCLKH tMCLKL tVSD tRSD tRSVS tMRVSR tMFVSF tVSFMR tMF1RS tPR3 tPR2 tPR1 tPD TEST CONDITIONS MIN 25 11.3 11.3 5 5 0 3 5 1 1 75 50 25 10 12.5 12.5 TYP MAX UNITS ns ns ns ns ns ns ns ns ns ns ns ns ns ns
w
PP Rev 1.6 March 2004 9
WM8214
SERIAL INTERFACE
tSPER SCK tSSU SDI tSCE SEN tSERD ADC DATA SDO MSB REGISTER DATA tSCRD tSEW tSEC tSH tSCKL tSCKH
Product Preview
t SCRDZ LSB
ADC DATA
Figure 4 Serial Interface Timing Test Conditions AVDD = DVDD1 = DVDD2 = 2.97 to 3.63V, AGND = DGND = 0V, TA = 0 to 70C unless otherwise stated. PARAMETER SCK period SCK high SCK low SDI set-up time SDI hold time SCK to SEN set-up time SEN to SCK set-up time SEN pulse width SEN low to SDO = Register data SCK low to SDO = Register data SCK low to SDO = ADC data SYMBOL tSPER tSCKH tSCKL tSSU tSH tSCE tSEC tSEW tSERD tSCRD tSCRDZ TEST CONDITIONS MIN 83.3 37.5 37.5 6 6 12 12 60 30 30 30 TYP MAX UNITS ns ns ns ns ns ns ns ns ns ns ns
Note: 1. Parameters are measured at 50% of the rising/falling edge
w
PP Rev 1.6 March 2004 10
Product Preview
WM8214
DEVICE DESCRIPTION
INTRODUCTION
A block diagram of the device showing the signal path is presented on the front page of this datasheet. The WM8214 samples up to three inputs (RINP, GINP and BINP) simultaneously. The device then processes the sampled video signal with respect to the video reset level or an internally/externally generated reference level using between one and three processing channels. Each processing channel consists of an Input Sampling block with optional Reset Level Clamping (RLC) and Correlated Double Sampling (CDS), an 8-bit programmable offset DAC and a 9-bit Programmable Gain Amplifier (PGA). The ADC then converts each resulting analogue signal to a 16-bit digital word. The digital output from the ADC is presented on an 8-bit wide bus. On-chip control registers determine the configuration of the device, including the offsets and gains applied to each channel. These registers are programmable via a serial interface. The WM8214 has been designed to have a high degree of compatibility with previous generations of Wolfson AFEs. By setting the LEGACY register bit the device adopts the same timing as the WM819x and WM815x families of AFEs. The control interface is also compatible.
INPUT SAMPLING
The WM8214 can sample and process one to three inputs through one to three processing channels as follows: Colour Pixel-by-Pixel: The three inputs (RINP, GINP and BINP) are simultaneously sampled for each pixel and a separate channel processes each input. The signals are then multiplexed into the ADC, which converts all three inputs within the pixel period. Two Channel Pixel-by-pixel: Two input channels (RINP and GINP) are simultaneously sampled for each pixel and a separate channel processes each input. The signals are then multiplexed into the ADC, which converts both inputs within the pixel period. The unused Blue channel is powered down when this mode is selected. Monochrome: A single chosen input (RINP, GINP, or BINP) is sampled, processed by the corresponding channel, and converted by the ADC. The choice of input and channel can be changed via the control interface, e.g. on a line-by-line basis if required. The unused channels are powered down when this mode is selected. Colour Line-by-Line: A single input (RINP) is sampled and multiplexed into the red channel for processing before being converted by the ADC. The registers which are applied to the PGA and Offset DAC can be switched in turn (RINP GINP BINP RINP...) by applying pulses to the RSMP pin. This is known as auto-cycling. Alternatively, other sequences can be generated via the control registers. This mode causes the unused blue and green channels to be powered down. Refer to the Line-by-Line Operation section for more details.
w
PP Rev 1.6 March 2004 11
WM8214
RESET LEVEL CLAMPING (RLC)
Product Preview
To ensure that the signal applied to the WM8214 lies within the supply voltage range (0V to AVDD) the output signal from a CCD is usually level shifted by coupling through a capacitor, CIN. The RLC circuit clamps the WM8214 side of this capacitor to a suitable voltage through a CMOS switch during the CCD reset period. In order for clamping to produce sensible results the input voltage during the clamping must be a consistent value. The WM8214 allows the user to control the RLC switch in a variety of ways as illustrated in Figure 5. This figure shows a single channel, however all 3 channels are identical, each with its own clamp switch controlled by the common CLMP signal. The method of control chosen depends upon the characteristics of the input video. The RLCEN register bit must be set to 1 to enable clamping, otherwise the RLC switch cannot be closed (by default RLCEN=1).
MCLK RSMP VSMP
LEGACY TIMING
MCLK VSMP
CIN
RINP or GINP or BINP
1 1 0 0
CL RLC/ACYC
0 1
RLC switch closed= 50 Ohm
CLMP
CONTROL INTERFACE
CLAMPCTRL ACYC LINEBYLINE LEGACY RLCEN
VRLC/ VBIAS
4-BIT CDAC
EN
CDAC[4:0]
CDACEN
Figure 5 RLC Clamp Control Options When an input waveform has a stable reference level on every pixel it may be desirable to clamp every pixel during this period. Setting CLMPCTRL=1 means that the RLC switch is closed whenever the RSMP input pin is high, as shown in Figure 6.
INPUT VIDEO SIGNAL MCLK VSMP RSMP RLC switch control "CLMP" (RLCEN=1,CLMPCTRL=0)
reference ("black") level video level
Video sample taken on fallling edge of VSMP Reset/reference sample taken on fallling edge of RSMP RLC switch closed when RSMP=1
Figure 6 Reset Level Clamp Operation (CLMPCTRL=0), CDS operation shown, non-CDS also possible
w
PP Rev 1.6 March 2004 12
Product Preview
WM8214
In situations where the input video signal does not have a stable reference level it may be necessary to clamp only during those pixels which have a known state (e.g. the dummy, or "black" pixels at the start or end of a line most image sensors). This is known as line-clamping and relies on the input capacitor to hold the DC level between clamp intervals. In non-CDS mode (CDS=0) this can be done directly by controlling the RSMP input pin to go high during the black pixels only. Alternatively it is possible to use RSMP to identify the black pixels and enable the clamp at the same time as the input is being sampled (i.e. when VSMP is high and RSMP is high). This mode is enabled by setting CLMPCTRL=1 and the operation is shown in Figure 7.
unstable reference level
INPUT VIDEO SIGNAL MCLK VSMP RSMP RLC switch control, "CLMP" (RLCEN=1,CLMPCTRL=1)
Video and reference sample taken on fallling edge of VSMP
dummy or "black" pixel video level
RLC switch closed when RSMP=1 && VSMP=1 (during "black" pixels)
Figure 7 Reset Level Clamp Operation (CLMPCTRL=1), non-CDS mode only When in LEGACY mode all timing, including the RLC switch timing, is derived from MCLK and VSMP. MCLK operates at double the ADC conversion rate and VSMP determines the sample rate of the device. Reset Level Clamping in LEGACY mode is only possible in CDS mode and the time at which the clamp switch is closed is concurrent with the reset sample period, RS, as shown in Figure 8. RLC can be enabled on a pixel by pixel basis under control of the RSMP input pin. If RSMP is high when VSMP is high and is sampled by MCLK then clamping will be enabled for that input sample at the time determined by CDSREF[1:0]. If RSMP is low at this point then the RLC switch will not be closed for that input sample. If RLC is required on every pixel then the RSMP pin can be constantly held high in LEGACY mode.
MCLK tLVSMPSU VSMP Video Sample, "VS" Reset Sample, "RS" (CDS=1, CDSREF=00 ) Reset Sample, "RS" (CDS=1, CDSREF=01 ) Reset Sample, "RS" (CDS=1, CDSREF=10 ) Reset Sample, "RS" (CDS=1, CDSREF=11) tLRSMPSU RSMP RLC switch control, "CL" (CDSREF=00 ) RLC switch control, "CL" (CDSREF=00 ) RLC switch control, "CL" (CDSREF=00 ) RLC switch control, "CL" (CDSREF=00 )
xxxxxxxx Video sample on falling edge of VS Reset sample on falling edge of RS Reset sample on falling edge of RS Reset sample on falling edge of RS Reset sample on falling edge of RS
tLVSMPH
tLRSMPH
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RLC sw closed if RSMP=1 RLC sw closed if RSMP=1 RLC sw closed if RSMP=1 RLC sw closed if RSMP=1
Figure 8 LEGACY Mode RLC and Sampling (LEGACY=1)
w
PP Rev 1.6 March 2004 13
WM8214
Table 1 summarises the various options for control of the Reset Level Clamp switch.
Product Preview
RLCEN LEGACY CLAMPCTRL
LINEBYLINE &&ACYC
OUTCOME
USE
0 1
X 0
X 0
X X
RLC is not enabled. RLC switch is always open. RLC switch is controlled directly from RSMP input pin: RSMP=0: switch is open RMSP=1: switch is closed VSMP applied as normal, RSMP is used to indicate the location of black pixels RLC switch is controlled by logical combination of RSMP and VSMP: RSMP && VSMP = 0: switch is open RSMP && VSMP = 1: switch is closed LEGACY mode RLC works in the same fashion as the WM819x series, where the RSMP pin is equivalent to the RLC/ACYC pin on those devices. The reset sample clock which is generated by the LEGACY internal timing generator is gated with the RSMP pin to produce the RLC control signal CL (see Figure 8) : CL=0: clamp switch open CL=1: clamp switch closed In this mode the RSMP pin is used to control autocycling so can't be used for clamp control. Register bit CLAMPCTRL controls whether RLC is enabled or not. CLAMPCTRL=0, RLC is disabled CLAMPCTRL=1, RLC is enabled and every pixel will be clamped during the control signal CL (see Figure 8).
When input is DC coupled and within supply rails. When ASIC explicitly provides a reset sample signal and the input video waveform has a suitable reset level. When you wish to clamp during the video period of black pixels or there is no stable per-pixel reference level.
1
0
1
X
1
1
X
X
When using the LEGACY timing mode.
X
1
0 1
1
When auto-cycling in LEGACY mode.
Table 1 Reset Level Clamp Control Summary
CDS/NON-CDS PROCESSING
For CCD type input signals, containing a fixed reference/rest level, the signal may be processed using Correlated Double Sampling (CDS), which will remove pixel-by-pixel common mode noise. With CDS processing the input waveform is sampled at two different points in time for each pixel, once during the reference/reset level and once during the video level. To sample using CDS, register bit CDS must be set to 1 (default). This causes the signal reference to come from the video reference level as shown in Figure 9. The video sample is always taken on the falling edge of the input VSMP signal (VS). In CDS-mode the reset level is sampled on the falling edge of the RSMP input signal (RS). For input signals that do not contain a reference/reset level (e.g. CIS sensor signals), non-CDS processing is used (CDS=0). In this case, the video level is processed with respect to the voltage on pin VRLC/VBIAS. The VRLC/VBIAS voltage is sampled at the same time as VSMP samples the video level in this mode. In LEGACY mode the input video signal is always sampled on the 1st rising edge of MCLK after VSMP has gone low (VS) regardless of the operating mode. If in non-CDS mode (CDS=0) the voltage on the VRLC/VBIAS pin is also sampled at this point. In CDS-mode (CDS=1) the position of the reset sample (RS) can be varied, under control of the CDSREF[1:0] register bits, as shown in Figure 8.
w
PP Rev 1.6 March 2004 14
Product Preview
WM8214
CIN
RINP or GINP or BINP
VS
'Video' sample capacitor
RLC switch closed= 50 Ohm
CLMP
RS (if CDS=1) or VS (if CDS=0)
CDS=1 CDS=0
'Reference' sample capacitor
CONTROL INTERFACE
CDS
VRLC/ VBIAS
4-BIT CDAC
EN
CDAC[4:0]
CDACEN
Figure 9 CDS/non-CDS Input Configuration
OFFSET ADJUST AND PROGRAMMABLE GAIN
The output from the CDS block is a differential signal, which is added to the output of an 8-bit Offset DAC to compensate for offsets and then amplified by a 9-bit PGA. The gain and offset for each channel are independently programmable by writing to control bits DAC[7:0] and PGA[7:0]. The gain characteristic of the WM8214 PGA is shown in Figure 10. Figure 11 shows the maximum device input voltage that can be gained up to match the ADC full-scale input range (default=2V). In colour line-by-line mode the gain and offset coefficients for each colour can be multiplexed in order (Red Green Blue Red...) by pulsing the RSMP pin, or controlled via the ACYC and INTM[1:0] bits. Refer to the Line-by-Line Operation section for more details.
w
PP Rev 1.6 March 2004 15
WM8214
8
Product Preview
3.5 Max i/p V oltage LOWREFS=0 3 Max i/p V oltage LOWREFS=1 2.5
7
6
5 PGA Gain (V/V)
Input Voltage Range (V)
0 128 256 Gain Code (PGA[8:0]) 384 512
2
4
1.5
3
2
1
1
0.5
0
0 0 128 256 Gain Code (PGA[8:0]) 384 512
Figure 10 PGA Gain Characteristic
Figure 11 Peak Input Voltage to Match ADC Full-scale Range
ADC INPUT BLACK LEVEL ADJUST
The output from the PGA can be offset to match the full-scale range of the differential ADC (2*[VRTVRB]). For negative-going input video signals, a black level (zero differential) output from the PGA should be offset to the top of the ADC range by setting register bits PGAFS[1:0]=10. This will give an output code of FFFF (hex) from the WM8214 for zero input. If code zero is required for zero differential input then the INVOP bit should be set. For positive going input signals the black level should be offset to the bottom of the ADC range by setting PGAFS[1:0]=11. This will give an output code of 0000 (hex) from the WM8214 for zero input. Bipolar input video is accommodated by setting PGAFS[1:0]=00 or PGAFS[1:0]=01. Zero differential input voltage gives mid-range ADC output, 7FFF (hex).
w
PP Rev 1.6 March 2004 16
Product Preview
WM8214
Figure 12 ADC Input Black Level Adjust Settings
OVERALL SIGNAL FLOW SUMMARY
Figure 13 represents the processing of the video signal through the WM8214.
OUTPUT INVERT BLOCK
INPUT SAMPLING OFFSET DAC PGA BLOCK BLOCK BLOCK
ADC BLOCK
V1
VIN CDS = 1 VRESET CDS = 0 VVRLC CDACPD=1 CDACPD=0
Offset DAC
V2
++
+
-
X
V3
analog
x (65535/VFS) D +0 if PGAFS[1:0]=11 1 +65535 if PGAFS[1:0]=10 +32768 if PGAFS[1:0]=0x digital
D2
OP[7:0]
PGA gain A= 0.66+PGA[8:0]x7.34/511
D2 = D1 if INVOP = 0 D2 = 65535-D1 if INVOP = 1
260mV*(DAC[7:0]-127.5)/127.5
VIN is RINP or GINP or BINP VRESET is VIN sampled during reset clamp VRLC is voltage applied to VRLC/VBIAS pin CDS, CDACPD,CDAC[3:0], DAC[7:0], PGA[8:0], PGAFS[1:0] and INVOP are set by programming internal control registers. CDS=1 for CDS, 0 for non-CDS
RLC DAC
See parametrics for DAC voltages.
Figure 13 Overall Signal Flow The INPUT SAMPLING BLOCK produces an effective input voltage V1. For CDS, this is the difference between the input video level VIN and the input reset level VRESET. For non-CDS this is the difference between the input video level VIN and the voltage on the VRLC/VBIAS pin, VVRLC, optionally set via the RLC DAC. The OFFSET DAC BLOCK then adds the amount of fine offset adjustment required to move the black level of the input signal towards 0V, producing V2. The PGA BLOCK then amplifies the white level of the input signal to maximise the ADC range, outputting voltage V3. The ADC BLOCK then converts the analogue signal, V3, to a 16-bit unsigned digital output, D1. The digital output is then inverted, if required, through the OUTPUT INVERT BLOCK to produce D2.
w
PP Rev 1.6 March 2004 17
WM8214
CALCULATING THE OUTPUT CODE FOR A GIVEN INPUT
Product Preview
The following equations describe the processing of the video and reset level signals through the WM8214. The values of V1, V2 and V3 are often calculated in reverse order during device setup. The PGA value is written first to set the input Voltage range, the Offset DAC is then adjusted to compensate for any Black/Reset level offsets and finally the RLC DAC value is set to position the reset level correctly during operation. Note: Refer to Applications Note WAN0123 for detailed information on device calibration procedures.
INPUT SAMPLING BLOCK: INPUT SAMPLING AND REFERENCING
If CDS = 1, (i.e. CDS operation) the previously sampled reset level, VRESET, is subtracted from the input video. V1 = VIN - VRESET Eqn. 1
If CDS = 0, (non-CDS operation) the simultaneously sampled voltage on pin VRLC is subtracted instead. V1 = VIN - VVRLC Eqn. 2
If RLCEXT = 1, VVRLC is an externally applied voltage on pin VRLC/VBIAS. If RLCEXT = 0, VVRLC is the output from the internal RLC DAC. VVRLC = (VRLCSTEP RLC DAC[3:0]) + VRLCBOT Eqn. 3
VRLCSTEP is the step size of the RLC DAC and VRLCBOT is the minimum output of the RLC DAC.
OFFSET DAC BLOCK: OFFSET (BLACK-LEVEL) ADJUST
The resultant signal V1 is added to the Offset DAC output. V2 = V1 + {260mV (DAC[7:0]-127.5) } / 127.5 Eqn. 4
PGA NODE: GAIN ADJUST
The signal is then multiplied by the PGA gain. V3 = V2 (0.66 + PGA[8:0]x7.34/511) Eqn. 5
ADC BLOCK: ANALOGUE-DIGITAL CONVERSION
The analogue signal is then converted to a 16-bit unsigned number, with input range configured by PGAFS[1:0]. D1[15:0] = INT{ (V3 /VFS) 65535} + 32767 D1[15:0] = INT{ (V3 /VFS) 65535} D1[15:0] = INT{ (V3 /VFS) 65535} + 65535 PGAFS[1:0] = 00 or 01 PGAFS[1:0] = 11 PGAFS[1:0] = 10 Eqn. 6 Eqn. 7 Eqn. 8
where the ADC full-scale range, VFS = 2V when LOWREFS=0 and VFS = 1.2V when LOWREFS=1.
OUTPUT INVERT BLOCK: POLARITY ADJUST
The polarity of the digital output may be inverted by control bit INVOP. D2[15:0] = D1[15:0] (INVOP = 0) D2[15:0] = 65535 - D1[15:0] (INVOP = 1) Eqn. 9 Eqn. 10
w
PP Rev 1.6 March 2004 18
Product Preview
WM8214
OUTPUT FORMATS
The output from the WM8214 can be presented in several different formats under control of the OPFORM[1:0] register bits as shown in Figure 14.
MCLK tPD 8-bit multiplexed OP[7:0]
A B A B A B A B
tPD
8-bit parallel OP[7:0]
A A A A
8-bit multiplexed (LEGACY=1) OP[7:0]
A B A B
8-bit parallel (LEGACY=1) OP[7:0]
A A
4-bit multiplexed (LEGACY=1) OP[7:4]
A B C D A B C D
Figure 14 Output Data Formats
OUTPUT FORMAT 8+8-bit multiplexed 8-bit parallel 4+4+4+4-bit (nibble)
OPFORM[1:0] LEGACY 00, 10 01 11 X X 1
OUTPUT PINS OP[7:0] OP[7:0] OP[7:4]
OUTPUT A = d15, d14, d13, d12, d11, d10, d9, d8 B = d7, d6, d5, d4, d3, d2, d1,d0 A = d15, d14, d13, d12, d11, d10, d9, d8 A = d15, d14, d13, d12 B = d11, d10, d9, d8 C = d7, d6, d5, d4 D = d3, d2, d1, d0
Table 2 Details of Output Data Formats (as shown in Figure 14).
REFERENCES
The ADC reference voltages are derived from an internal bandgap reference, and buffered to pins VRT and VRB, where they must be decoupled to ground. Pin VRX is driven by a similar buffer, and also requires decoupling. The output buffer from the RLCDAC also requires decoupling at pin VRLC/VBIAS.
POWER MANAGEMENT
Power management for the device is performed via the Control Interface. By default the device is fully enabled. The EN bit allows the device to be fully powered down when set low. Individual blocks can be powered down using the bits in Setup Register 5. When in MONO or TWOCHAN mode the unused input channels are automatically disabled to reduce power consumption.
w
PP Rev 1.6 March 2004 19
WM8214
LINE-BY-LINE OPERATION
Product Preview
Certain linear sensors give colour output on a line-by-line basis. i.e. a full line of red pixels followed by a line of green pixels followed by a line of blue pixels. Often the sensor will have only a single output onto which these outputs are time multiplexed. The WM8214 can accommodate this type of input by setting the LINEBYLINE register bit high. When in this mode the green and blue input PGAs are disabled to save power. The analogue input signal should be connected to the RINP pin. The offset and gain values that are applied to the Red input channel can be selected, by internal multiplexers, to come from the Red, Green or Blue offset and gain registers. This allows the gain and offset values for each of the input colours to be setup individually at the start of a scan. When register bit ACYC=0 the gain and offset multiplexers are controlled via the INTM[1:0] register bits. When INTM=00 the red offset and gain control registers are used to control the Red input channel, INTM=01 selects the green offset and gain registers and INTM=10 selects the blue offset and gain registers to control the Red input channel. When register bit ACYC=1, `auto-cycling' is enabled, and the input channel switches to the next offset and gain registers in the sequence when a pulse is applied to the RSMP input pin. The sequence is Red Green Blue Red... offset and gain registers applied to the single input channel. A write to the Auto-cycle reset register (address 05h) will reset the sequence to a known state (Red registers selected). When auto-cycling is enabled, the RSMP pin cannot be used to control reset level clamping. The CLMPCTRL bit may be used instead (enabled when high, disabled when low). NB, when auto-cycling is enabled, the RSMP pin cannot be used for reset sampling (i.e. CDS must be set to 0).
CONTROL INTERFACE
The internal control registers are programmable via the serial digital control interface. The register contents can be read back via the serial interface on pin OP[7]/SDO. Note: It is recommended that a software reset is carried out after the power-up sequence, before writing to any other register. This ensures that all registers are set to their default values (as shown in Table 4).
SERIAL INTERFACE: REGISTER WRITE
Figure 15 shows register writing in serial mode. Three pins, SCK, SDI and SEN are used. A six-bit address (a5, 0, a3, a2, a1, a0) is clocked in through SDI, MSB first, followed by an eight-bit data word (b7, b6, b5, b4, b3, b2, b1, b0), also MSB first. Each bit is latched on the rising edge of SCK. When the data has been shifted into the device, a pulse is applied to SEN to transfer the data to the appropriate internal register. Note all valid registers have address bit a4 equal to 0 in write mode.
SCK
SDI
a5
0
a3
a2
a1
a0
b7
b6
b5
b4
b3
b2
b1
b0
Address SEN
Data Word
Figure 15 Serial Interface Register Write A software reset is carried out by writing to Address "000100" with any value of data, (i.e. Data Word = XXXXXXXX).
w
PP Rev 1.6 March 2004 20
Product Preview
WM8214
SERIAL INTERFACE: REGISTER READ-BACK
Figure 16 shows register read-back in serial mode. Read-back is initiated by writing to the serial bus as described above but with address bit a4 set to 1, followed by an 8-bit dummy data word. Writing address (a5, 1, a3, a2, a1, a0) will cause the contents (d7, d6, d5, d4, d3, d2, d1, d0) of corresponding register (a5, 0, a3, a2, a1, a0) to be output MSB first on pin SDO (on the falling edge of SCK). Note that pin SDO is shared with an output pin, OP[7], therefore OEB should always be held low and the OPD register bit should be set low when register read-back data is expected on this pin. The next word may be read in to SDI while the previous word is still being output on SDO.
SCK
SDI
a5
1 a3 a2 a1 a0
x
x
x
x
x
x
x
x
Address SEN SDO/ OP[7] OEB
Data Word
d7 d6 d5 d4 d3 d2 d1 d0
Output Data Word
Figure 16 Serial Interface Register Read-back
w
PP Rev 1.6 March 2004 21
WM8214
LEGACY MODE INFORMATION
Product Preview
The WM8214 has been designed to have a high degree of compatibility with previous generations of Wolfson AFEs. By setting the LEGACY register bit the input timing is made compatible with the WM819x and WM815x series of devices. Additional features such as the VSMP detect mode are also retained in LEGACY mode.
LEGACY: PROGRAMMABLE VSMP DETECT CIRCUIT
The VSMP input is used to determine the sampling point and frequency of the WM8214. Under normal operation a pulse of 1 MCLK period should be applied to VSMP at the desired sampling frequency (as shown in the LEGACY Mode Timing Diagrams) and the input sample will be taken on the first rising MCLK edge after VSMP has gone low. However, in certain applications such a signal may not be readily available. The programmable VSMP detect circuit in the WM8214 allows the sampling point to be derived from any signal of the correct frequency, such as a CCD shift register clock, when applied to the VSMP pin. When enabled, by setting the VSMPDET control bit, the circuit detects either a rising or falling edge (determined by POSNNEG control bit) on the VSMP input pin and generates an internal VSMP pulse, INTVSMP. When POSNNEG = 1, a positive edge transition is detected and when POSNNEG = 0, a falling edge transition is detected. INTVSMP can optionally be delayed by a number of MCLK periods, specified by the VDEL[2:0] bits. Figure 17 shows the internal VSMP pulses that can be generated by this circuit for a typical clock input signal. The internal VSMP pulse is then applied to the timing control block in place of the normal VSMP pulse provided from the input pin. The sampling point occurs on the first rising MCLK edge after this internal VSMP pulse, as shown in the LEGACY Mode Timing Diagrams.
MCLK INPUT PINS VSMP POSNNEG = 1 (VDEL = 000) INTVSMP (VDEL = 001) INTVSMP (VDEL = 010) INTVSMP (VDEL = 011) INTVSMP (VDEL = 100) INTVSMP (VDEL = 101) INTVSMP (VDEL = 110) INTVSMP (VDEL = 111) INTVSMP POSNNEG = 0 (VDEL = 000) INTVSMP (VDEL = 001) INTVSMP (VDEL = 010) INTVSMP (VDEL = 011) INTVSMP (VDEL = 100) INTVSMP (VDEL = 101) INTVSMP (VDEL = 110) INTVSMP (VDEL = 111) INTVSMP
VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS
Figure 17 Internal VSMP Pulses Generated by Programmable VSMP Detect Circuit
w
PP Rev 1.6 March 2004 22
Product Preview
WM8214
LEGACY: OPERATING MODES
Table 3 summarises the most commonly used modes, the clock waveforms required and the register contents required for CDS and non-CDS operation. MODE DESCRIPTION CDS AVAILABLE MAX SAMPLE RATE 6.67MSPS SENSOR INTERFACE DESCRIPTION The 3 input channels are sampled in parallel. The signal is then gain and offset adjusted before being multiplexed into a single data stream and converted by the ADC, giving an output data rate of 20MSPS max. As mode 1 except: Only one input channel at a time is continuously sampled. TIMING REQUIREMENTS MCLK max = 40MHz MCLK: VSMP ratio is 6:1 REGISTER CONTENTS WITH CDS SetReg1: 03(hex) REGISTER CONTENTS WITHOUT CDS SetReg1: 01(hex)
1
Colour Pixel-by-Pixel
Yes
2
Monochrome/ Colour Line-by-Line
Yes
6.67MSPS
MCLK max = 40MHz MCLK: VSMP ratio is 6:1 MCLK max = 40MHz MCLK: VSMP ratio is 3:1 MCLK max = 40MHz MCLK: VSMP ratio is 2:1 MCLK max = 40MHz MCLK: VSMP ratio is 2n:1, n 4 MCLK max = 40MHz MCLK: VSMP ratio is 2n:1, n 4
SetReg1: 07(hex)
SetReg1: 05(hex)
3
Fast Monochrome/ Colour Line-by-Line
Yes
13.33MSPS Identical to mode 2
Identical to mode 2 plus SetReg3: bits 5:4 must be set to 0(hex) CDS not possible
Identical to mode 2
4
Maximum speed Monochrome/ Colour Line-by-Line Slow Colour Pixel-by-Pixel
No
20MSPS
Identical to mode 2
SetReg1: 45(hex)
5
Yes
5MSPS
Identical to mode 1
Identical to mode 1
Identical to mode 1
6
Slow Monochrome/ Colour Line-by-Line
Yes
5MSPS
Identical to mode 2
Identical to mode 2
Identical to mode 2
Table 3 WM8214 Legacy Operating Modes Notes: 1. 2. In Monochrome mode, SetReg3 bits 7:6 determine which input is to be sampled. For Colour Line-by-Line, set control bit LINEBYLINE. For input selection, refer to Table 4, Colour Selection Description in Line-by-Line Mode.
w
PP Rev 1.6 March 2004 23
WM8214
LEGACY: MODE TIMING DIAGRAMS
Product Preview
The following diagrams show 8-bit multiplexed output data and MCLK, VSMP and input video requirements for operation of the most commonly used modes as shown in Table 3. The diagrams are identical for both CDS and non-CDS operation. Outputs from RINP, GINP and BINP are shown as R, G and B respectively. X denotes invalid data.
Figure 18 Mode 1 Operation
Figure 19 Mode 2 Operation
w
PP Rev 1.6 March 2004 24
Product Preview
WM8214
Figure 20 Mode 3 Operation
Figure 21 Mode 4 Operation
w
PP Rev 1.6 March 2004 25
WM8214
Product Preview
Figure 22 Mode 5 Operation (MCLK:VSMP Ratio = 8:1)
Figure 23 Mode 6 Operation (MCLK:VSMP Ratio = 8:1)
w
PP Rev 1.6 March 2004 26
Product Preview
WM8214
DEVICE CONFIGURATION
REGISTER MAP
The following table describes the location of each control bit used to determine the operation of the WM8214.
ADDRESS
DESCRIPTION
DEF (hex) 03 20 1F 00 00 00 00 20 00 00 00 00 80 80 80 80 00 00 00 00 00 00 00 00
RW b7 RW RW RW W W RW RW RW RW RW RW RW RW RW RW W RW RW RW W RW RW RW W 0 0 0 0 0 0 0 DACR[7] DACG[7] DACB[7] DACRGB[7] 0 0 0 0 PGAR[8] PGAG[8] PGAB[8] PGARGB[8] 0 VRXPD CLAMPCTRL 0 0 0 0 DACR[6] DACG[6] DACB[6] DACRGB[6] 0 0 0 0 PGAR[7] PGAG[7] PGAB[7] PGARGB[7] 0 ADCREFPD RLCEN 0 0 0 0 DACR[5] DACG[5] DACB[5] DACRGB[5] 0 0 0 0 PGAR[6] PGAG[6] PGAB[6] PGARGB[6] 0 RLCDACPD POSNNEG 0 0 0 0 DACR[4] DACG[4] DACB[4] DACRGB[4] 0 0 0 0 PGAR[5] PGAG[5] PGAB[5] PGARGB[5] LEGACY DEL[1] CHAN[1] b6 MODE4LEG DEL[0] CHAN[0] b5 PGAFS[1] RLCDACRNG CDSREF [1] b4 PGAFS[0] LOWREFS CDSREF [0]
BIT b3 TWOCHAN OPD RLCDAC[3] b2 MONO INVOP RLCDAC[2] b1 CDS OPFORM[1] RLCDAC[1] b0 EN OPFORM[0] RLCCDAC[0]
000001 (01h) Setup Reg 1 000010 (02h) Setup Reg 2 000011 (03h) Setup Reg 3 000100 (04h) Software Reset 000101 (05h) Auto-cycle Reset 000110 (06h) Setup Reg 4 000111 (07h) Setup Reg 5 001000 (08h) Setup Reg 6 001001 (09h) Reserved 001010 (0Ah) Reserved 001011 (0Bh) Reserved 001100 (0Ch) Reserved 100000 (20h) DAC Value (Red) 100001 (21h) DAC Value (Green) 100010 (22h) DAC Value (Blue) 100011 (23h) DAC Value (RGB) 100100 (24h) PGA Gain LSB (Red) 100101 (25h) PGA Gain LSB (Green) 100110 (26h) PGA Gain LSB (Blue) 100111 (27h) PGA Gain LSB (RGB) 101000 (28h) PGA Gain MSBs (Red) 101001 (29h) PGA Gain (Green) 101010 (2Ah) PGA Gain (Blue) 101011 (2Bh) PGA Gain (RGB)
INTM[1] ADCPD VDEL[2] 0 0 0 0 DACR[3] DACG[3] DACB[3] DACRGB[3] 0 0 0 0 PGAR[4] PGAG[4] PGAB[4] PGARGB[4]
INTM[0] BLUPD VDEL[1] 0 0 0 0 DACR[2] DACG[2] DACB[2] DACRGB[2] 0 0 0 0 PGAR[3] PGAG[3] PGAB[3] PGARGB[3]
ACYC GRNPD VDEL[0] 0 0 0 0 DACR[1] DACG[1] DACB[1] DACRGB[1] 0 0 0 0 PGAR[2] PGAG[2] PGAB[2] PGARGB[2]
LINEBYLINE REDPD VSMPDET 0 0 0 0 DACR[0] DACG[0] DACB[0] DACRGB[0] PGAR[0] PGAG[0] PGAB[0] PGARGB[0] PGAR[1] PGAG[1] PGAB[1] PGARGB[1]
Table 4 Register Map
w
PP Rev 1.6 March 2004 27
WM8214
REGISTER MAP DESCRIPTION
Product Preview
The following table describes the function of each of the control bits shown in Table 4.
REGISTER Setup Register 1
BIT NO 0
BIT NAME(S) EN
DEFAULT 1
DESCRIPTION Global Enable 0 = complete power down, 1 = fully active (individual blocks can be disabled using individual powerdown bits - see setup register 5). Select correlated double sampling mode: 0 = single ended mode, 1 = CDS mode. Sampling mode select (see Table 6 for further details): 0 = other mode (2 or 3-channel) 1 = Monochrome (1-channel) mode. Input channel selected by CHAN[1:0] register bits, unused channels are powered down. Sampling mode select (see Table 6 for further details): 0 = other mode (1 or 3-channel) 1 = 2-channel mode. Inputs channels are Red and Green, Blue channel is powered down. Offsets PGA output to optimise the ADC range for different polarity sensor output signals. Zero differential PGA input signal gives: 0x = Zero output from the PGA (Output code=32767) 10 = Full-scale positive output (OP=65535) - use for negative going video. NB, Set INVOP=1 if zero differential input should give a zero output code with negative going video. 11 = Full-scale negative output (OP=0) - use for positive going video This bit has no effect when LEGACY=0. Set this bit when operating in LEGACY MODE4: 0 = other modes, 1 = LEGACY MODE4. Makes the WM8214 timing compatible with the WM819x and WM815x AFE families. 0 = Normal timing 1 = Enable LEGACY timing. Requires double rate MCLK and pixel rate VSMP input. RSMP pin performs same function as RLC/ACYC pin on WM819x devices.
1
CDS
1
2
MONO
0
3
TWOCHAN
0
5:4
PGAFS[1:0]
00
6
MODE4LEG
0
7
LEGACY
0
w
PP Rev 1.6 March 2004 28
Product Preview REGISTER Setup Register 2 BIT NO 1:0 BIT NAME(S) OPFORM[1:0] DEFAULT 0 DESCRIPTION
WM8214
Determines the output data format. x0 = 8-bit multiplexed (8+8 bits) 01 = 8-bit parallel (8-MSBs only) 11 = 4-bit multiplexed mode (4+4+4+4 bits). This mode is only valid when LEGACY=1. Digitally inverts the polarity of output data. 0 = negative going video gives negative going output, 1 = negative-going video gives positive going output data. Output Disable. This works with the OEB pin to control the output pins. 0=Digital outputs enabled, 1=Digital outputs high impedance OEB (pin) 0 0 1 1 OPD 0 1 0 1 OP pins Enabled High Impedance High Impedance High impedance
2
INVOP
0
3
OPD
0
4
LOWREFS
0
Reduces the ADC reference range (2*[VRT-VRB]), thus changing the max/min input voltages. 0= ADC reference range = 2.0V 1= ADC reference range = 1.2V
5
RLCDACRNG
1
Sets the output range of the RLCDAC. 0 = RLCDAC ranges from 0 to AVDD (approximately), 1 = RLCDAC ranges from 0 to VRT (approximately). Controls the latency from sample to data appearing on output pins Latency DEL 00 01 10 11 LEGACY=0 All timing modes 7 MCLK periods 8 MCLK periods 9 MCLK periods 10 MCLK periods LEGACY=1 timing modes 1-2,4-6 16.5 MCLK periods 18.5 MCLK periods 20.5 MCLK periods 22.5 MCLK periods LEGACY=1 timing mode 3 23.5 MCLK periods 26.5 MCLK periods 29.5 MCLK periods 31.5 MCLK periods
7:6
DEL[1:0]
00
Setup Register 3
3:0
RLCDAC[3:0]
1111
Controls RLCDAC driving VRLC/VBIAS pin to define single ended signal reference voltage or Reset Level Clamp voltage. See Electrical Characteristics section for ranges. When LEGACY=0 these register bits have no effect. CDS mode reset timing adjust. 00 = Advance reset sample by 1 MCLK period (relative to default). 01 = Default reset sample position. 10 = Delay reset sample by 1 MCLK period (relative to default) 11 = Delay reset sample by 2 MCLK periods (relative to default) When MONO=0 these register bits have no effect Monochrome mode channel select. 00 = Red channel select 10 = Blue channel select 01 = Green channel select 11 = Reserved Any write to Software Reset causes all cells to be reset. It is recommended that a software reset be performed after a power-up before any other register writes. Any write to Auto-cycle Reset causes the auto-cycle counter to reset to RINP. This function is only required when LINEBYLINE = 1.
5:4
CDSREF[1:0]
01
7:6
CHAN[1:0]
00
Software Reset Auto-cycle Reset
w
PP Rev 1.6 March 2004 29
WM8214
REGISTER Setup Register 4 BIT NO 0 BIT NAME(S) LINEBYLINE DEFAULT 0 DESCRIPTION
Product Preview
Selects line by line operation. Line by line operation is intended for use with systems which operate one line at a time but with up to three colours shared on that one output. 0 = normal operation, 1 = line by line operation. When line by line operation is selected MONO is forced to 1 and CHAN[1:0] to 00 internally, ensuring that the correct internal timing signals are produced. Green and Blue PGAs are also disabled to save power. When LINEBYLINE = 0 this bit has no effect. When LINEBYLINE = 1 this bit determines the function of the RSMP input pin and the offset/gain register controls. 0 = RSMP pin enabled for either reset sampling (CDS) or Reset Level Clamp control. Internal selection of gain/offset multiplexers using INTM[1:0] register bits. 1 = Auto-cycling enabled by pulsing the RSMP input pin. This means that each time a pulse is applied to this pin the single input channel will switch to the next offset and gain registers in the sequence. The sequence is Red->Green->Blue->Red... offset and gain registers applied to the red input channel. When auto-cycling is enabled, the RSMP pin cannot be used to control reset level clamping. The CLMPCTRL bit may be used instead (enabled when high, disabled when low). NB, when auto-cycling is enabled, the RSMP pin cannot be used for reset sampling (i.e. CDS must be set to 0). When LINEBYLINE=0 or ACYC=0 this bit has no effect. When LINEBYLINE=1 and ACYC=1: Controls the PGA/offset mux selector: 00 = Red PGA/Offset registers applied to input channel 01 = Green PGA/Offset registers applied to input channel 10 = Blue PGA/Offset registers applied to input channel 11 = Reserved.
1
ACYC
0
3:2
INTM[1:0]
00
Setup Register 5
0 1 2 3
REDPD GRNPD BLUPD ADCPD
0 0 0 0
When set powers down red S/H, PGA When set powers down green S/H, PGA When set powers down blue S/H, PGA When set powers down ADC. Allows reduced power consumption without powering down the references which have a long time constant when switching on/off due to the external decoupling capacitors.
4
RLCCDACPD
0
When set powers down 4-bit RLCDAC, setting the output to a high impedance state and allowing an external reference to be driven in on the VRLC/VBIAS pin.
5 6 Setup Register 6 0
ADCREFPD VRXPD VSMPDET
0 0 0
When set disables VRT, VRB buffers to allow external references to be used. When set disables VRX buffer to allow an external reference to be used. When LEGACY=0 this register bit has no effect. When LEGACY=1: 0 = Normal operation, signal on VSMP input pin is applied directly to Timing Control block. 1 = Programmable VSMP detect circuit is enabled. An internal synchronisation pulse is generated from signal applied to VSMP input pin and is applied to Timing Control block in place of VSMP. When LEGACY=0 or VSMPDET=0 these bits have no effect. The VDEL bits set a programmable delay from the detected edge of the signal applied to the VSMP pin. The internally generated pulse is delayed by VDEL MCLK periods from the detected edge. See Figure 17, Internal VSMP Pulses Generated for details.
3:1
VDEL[2:0]
000
w
PP Rev 1.6 March 2004 30
Product Preview REGISTER BIT NO 4 BIT NAME(S) POSNNEG DEFAULT 0 DESCRIPTION
WM8214
When LEGACY=0 or VSMPDET=0 this bit has no effect. When LEGACY=1 and VSMPDET=1 this bit controls whether positive or negative edges on the VSMP input pin are detected: 0 = Negative edge on VSMP pin is detected and used to generate internal timing pulse. 1 = Positive edge on VSMP pin is detected and used to generate internal timing pulse. See Figure 17 for further details. Reset Level Clamp Enable. When set Reset Level Clamping is enabled. The method of clamping is determined by CLAMPCTRL and LEGACY. In LEGACY mode clamping will still occur on every pixel at a time defined by the CDSREF[1:0] bits. This bit has no effect if LEGACY=1. See Table 1 for more information. 0 = RLC switch is controlled directly from RSMP input pin: RSMP = 0: switch is open RMSP = 1: switch is closed 1 = RLC switch is controlled by logical combination of RSMP and VSMP. RSMP && VSMP = 0: switch is open RSMP && VSMP = 1: switch is closed
5
RLCEN
1
6
CLAMPCTRL
0
Offset DAC (Red) Offset DAC (Green) Offset DAC (Blue) Offset DAC (RGB) PGA Gain LSB (Red) PGA Gain LSB (Green) PGA Gain LSB (Blue) PGA Gain LSB (RGB) PGA gain MSBs (Red) PGA gain MSBs (Green) PGA gain MSBs (Blue) PGA gain MSBs (RGB)
7:0 7:0 7:0 7:0 0
DACR[7:0] DACG[7:0] DACB[7:0] DACRGB[7:0] PGAR[0]
0 0 0 0 0
Red channel 8-bit offset DAC value (mV) = 260*(DACR[7:0]-127.5)/127.5 Green channel 8-bit offset DAC value (mV) = 260*(DACG[7:0]-127.5)/127.5 Blue channel 8-bit offset DAC value (mV) = 260*(DACB[7:0]-127.5)/127.5 A write to this register location causes the red, green and blue offset DAC registers to be overwritten by the new value This register bit forms the LSB of the red channel PGA gain code. PGA gain is determined by combining this register bit and the 8 MSBs contained in register address 28 hex. This register bit forms the LSB of the green channel PGA gain code. PGA gain is determined by combining this register bit and the 8 MSBs contained in register address 29 hex. This register bit forms the LSB of the blue channel PGA gain code. PGA gain is determined by combining this register bit and the 8 MSBs contained in register address 2A hex. Writing a value to this location causes red, green and blue PGA LSB gain values to be overwritten by the new value. Bits 8 to 1 of red PGA gain. Combined with red LSB register bit to form complete PGA gain code. This determines the gain of the red channel PGA according to the equation: Red channel PGA gain (V/V) = 0.66 + PGAR[8:0]x7.34/511 Bits 8 to 1 of green PGA gain. Combined with green LSB register bit to form complete PGA gain code. This determines the gain of the green channel PGA according to the equation: Green channel PGA gain (V/V) = 0.66 + PGAG[8:0]x7.34/511 Bits 8 to 1 of blue PGA gain. Combined with blue LSB register bit to form complete PGA gain code. This determines the gain of the blue channel PGA according to the equation: BLue channel PGA gain (V/V) = 0.66 + PGAB[8:0]x7.34/511 A write to this register location causes the red, green and blue PGA MSB gain registers to be overwritten by the new value.
0
PGAG[0]
0
0
PGAB[0]
0
0
PGARGB[0]
0
7:0
PGAR[8:1]
0D
7:0
PGAG[8:1]
0D
7:0
PGAB[8:1]
0D
7:0
PGARGB[8:1]
0
Table 5 Register Control Bits
w
PP Rev 1.6 March 2004 31
WM8214
Product Preview
MONO 0 0 1 1 1 1 1
TWOCHAN 0 1 0 0 0 0 1
CHAN[1:0] XX XX 00 01 10 11 XX 3-channel (colour mode)
MODE DESCRIPTION 2-channel (Blue PGA disabled) 1-channel (monochrome) mode. Red channel selected, Green and Blue PGAs disabled. 1-channel (monochrome) mode. Green channel selected, Red and Blue PGAs disabled. 1-channel (monochrome) mode. Blue channel selected, Red and Green PGAs disabled. Invalid mode Invalid mode
Table 6 Sampling Mode Summary
w
PP Rev 1.6 March 2004 32
Product Preview
WM8214
APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
DVDD1 DVDD2 3 10 C1 C2 AVDD 21 C3 DGND AGND 1 RINP GINP VRB BINP VRT VRX 24 25 23 C6 C7 C8 C4 C5 AVDD AGND1 AGND2 22 2 AGND DVDD1 DVDD2 DGND 8
Video Inputs
28 27
26 C9
VRLC/VBIAS AGND
WM8214
AGND 7 MCLK VSMP RSMP OP[7]/SDO OP[6] OP[5] OP[4] OP[3] 12 11 SCK SDI SEN OP[2] OP[1] OP[0] 5 6 20 DVDD1 DVDD2 19 18 17 16 15 14 13 + C10 + C11 AVDD + C12
Timing Signals
Output Data Bus
DGND
AGND
Interface Controls
9
4
OEB
NOTES: 1. C1-9 should be fitted as close to WM8214 as possible. 2. AGND and DGND should be connected as close to WM8214 as possible.
Figure 24 External Components Diagram
RECOMMENDED EXTERNAL COMPONENT VALUES
COMPONENT REFERENCE C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 SUGGESTED VALUE 100nF 100nF 100nF 10nF 1F 100nF 100nF 100nF 100nF 10F 10F 10F DESCRIPTION De-coupling for DVDD1. De-coupling for DVDD2. De-coupling for AVDD. High frequency de-coupling between VRT and VRB. Low frequency de-coupling between VRT and VRB (non-polarised). De-coupling for VRB. De-coupling for VRX. De-coupling for VRT. De-coupling for VRLC. Reservoir capacitor for DVDD1. Reservoir capacitor for DVDD2. Reservoir capacitor for AVDD.
Table 7 External Components Descriptions
w
PP Rev 1.6 March 2004 33
WM8214 PACKAGE DIMENSIONS
DS: 28 PIN SSOP (10.2 x 5.3 x 1.75 mm)
Product Preview
DM007.D
b
28
e
15
E1
E
1
D
14
GAUGE PLANE
c A A2 A1 -C0.10 C
SEATING PLANE
L
0.25
L1
Symbols A A1 A2 b c D e E E1 L L1 REF: MIN ----0.05 1.65 0.22 0.09 9.90 7.40 5.00 0.55 0
o
Dimensions (mm) NOM --------1.75 0.30 ----10.20 0.65 BSC 7.80 5.30 0.75 0.125 REF o 4 JEDEC.95, MO-150
MAX 2.0 0.25 1.85 0.38 0.25 10.50 8.20 5.60 0.95 8
o
NOTES: A. ALL LINEAR DIMENSIONS ARE IN MILLIMETERS. B. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE. C. BODY DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSION, NOT TO EXCEED 0.20MM. D. MEETS JEDEC.95 MO-150, VARIATION = AH. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
w
PP Rev 1.6 March 2004 34
Product Preview
WM8214
IMPORTANT NOTICE
Wolfson Microelectronics plc (WM) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current. All products are sold subject to the WM terms and conditions of sale supplied at the time of order acknowledgement, including those pertaining to warranty, patent infringement, and limitation of liability.
WM warrants performance of its products to the specifications applicable at the time of sale in accordance with WM's standard warranty. Testing and other quality control techniques are utilised to the extent WM deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements.
In order to minimise risks associated with customer applications, adequate design and operating safeguards must be used by the customer to minimise inherent or procedural hazards. Wolfson products are not authorised for use as critical components in life support devices or systems without the express written approval of an officer of the company. Life support devices or systems are devices or systems that are intended for surgical implant into the body, or support or sustain life, and whose failure to perform when properly used in accordance with instructions for use provided, can be reasonably expected to result in a significant injury to the user. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.
WM assumes no liability for applications assistance or customer product design. WM does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of WM covering or relating to any combination, machine, or process in which such products or services might be or are used. WM's publication of information regarding any third party's products or services does not constitute WM's approval, license, warranty or endorsement thereof.
Reproduction of information from the WM web site or datasheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. Representation or reproduction of this information with alteration voids all warranties provided for an associated WM product or service, is an unfair and deceptive business practice, and WM is not responsible nor liable for any such use.
Resale of WM's products or services with statements different from or beyond the parameters stated by WM for that product or service voids all express and any implied warranties for the associated WM product or service, is an unfair and deceptive business practice, and WM is not responsible nor liable for any such use.
ADDRESS:
Wolfson Microelectronics plc Westfield House 26 Westfield Road Edinburgh EH11 2QW
Tel :: +44 (0)131 272 7000 Fax :: +44 (0)131 272 7001 Email :: sales@wolfsonmicro.com
w
PP Rev 1.6 March 2004 35


▲Up To Search▲   

 
Price & Availability of WM8214SCDSR

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X